/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package builderProduct;

import java.util.Vector;
import operacoes2.Operacao;

/**
 *
 * @author Rente
 */
abstract public class AbstractBuilder {

    protected FileProduct fb;
    private Vector<Operacao> val;


    public FileProduct getFileProduct() {
        return this.fb;
    }

    public void createNewFileBuilderProduct() {
        fb = new FileProduct();
    }

    public void setNome(String fileName){
        fb.setNome(fileName);
    }

    public abstract void buildCabecalho();

    public abstract void buildCorpo();

    public abstract void buildExtensao();

    /**
     * @return the val
     */
    public Vector<Operacao> getVal() {
        return val;
    }

    /**
     * @param val the val to set
     */
    public void setVal(Vector<Operacao> val) {
        this.val = val;
    }
}
